﻿using Agora.Rtc;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMeeting.Dtos
{
   public class MeetUser:BindableBase
    {
        public uint  Id { get; set; }
        public string UserName { get; set; }

        private uint volume;
        private bool isVideo;
        private bool isAudio;
        public bool IsOpenVideo { get=>isVideo; set { isVideo = value;RaisePropertyChanged(); } }
        public bool IsOpenAudio { get=>isAudio; set { isAudio = value;RaisePropertyChanged(); } }
        public uint Volume { get=>volume; set { volume = value;RaisePropertyChanged(); } }

        public UserInfo UserInfo { get; set; }

        public string Channel { get; set; }
        public string Token { get; set; }
        public bool isShareScreen { get; internal set; }
    }
}
